﻿<TextBox x:Class="CoTime.View.UserControls.UCTextBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Height="30"
             Width="355"
             FontSize="22"
             VerticalAlignment="Bottom"
             FontFamily="Century Schoolbook"
             BorderThickness="0,0,0,0"
             Background="Transparent"
             Margin="30,0,0,0"
             AutoWordSelection="True">
    <TextBox.CaretBrush>
        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
            <GradientStopCollection>
                <GradientStop Color="Red" Offset="0"></GradientStop>
                <GradientStop Color="Yellow" Offset="0.5"></GradientStop>
                <GradientStop Color="Blue" Offset="1"></GradientStop>
            </GradientStopCollection>
        </LinearGradientBrush>
    </TextBox.CaretBrush>
    <TextBox.SelectionBrush>
        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
            <GradientStopCollection>
                <GradientStop Color="Red" Offset="0"></GradientStop>
                <GradientStop Color="Yellow" Offset="0.5"></GradientStop>
                <GradientStop Color="Blue" Offset="1"></GradientStop>
            </GradientStopCollection>
        </LinearGradientBrush>
    </TextBox.SelectionBrush>
</TextBox>
